package rz.timer;

import java.util.Date;
import java.util.TimerTask;

public class TestTimerTask extends TimerTask {

	@Override
	public void run() {
		System.out.println("TimerTask时间到了,打印一个Hello World!");
		System.out.println("TimerTask "+new Date());
	}

}
